<template>
  <div>
    <h1>课堂管理</h1>
  </div>
  
</template>

<script>
import { useRoute } from 'vue-router';

export default {
  setup() {
    const route = useRoute();
    const classId = route.params.id;

    // 模拟课堂数据，可以根据 classId 进行请求
    const classData = {
      id: classId,
      name: '数学课',
      teacherName: '张老师',
      studentsCount: 30,
    };

    return {
      classData,
    };
  },
};
</script>

<style scoped>
/* 适当的样式 */
</style>
